<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
    <META content="IE=7.0000" http-equiv="X-UA-Compatible">
    <TITLE>无标题页</TITLE>
    <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    <LINK rel=stylesheet type=text/css href="__PUBLIC__/Css/Style.css">
    <LINK rel=Stylesheet type=text/css href="__PUBLIC__/css/jquery-ui-1.8.16.custom.css">
    <LINK rel=Stylesheet type=text/css href="__PUBLIC__/css/jquery.cropzoom.css">
    <script src="__PUBLIC__/libs/js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.datePicker-min.js"></script>
    <link type="text/css" href="__PUBLIC__/css/datepicker.css" rel="stylesheet"/>
    <script type="text/javascript">
        $(document).ready(function () {

            $(".datepicker").datePicker({
                inline: true,
                selectMultiple: false
            });

            $("#datepicker").datePicker({
                clickInput: true
            });

        });
    </script>
    <style>
        * {
            font-size: 12px;
        }

        .buttons {
            line-height: 30px;
            height: 30px;
            width: 80px;
        }
    </style>
    <script type="text/javascript">
        function check(fr) {
            if (fr.apptime.value == "") {
                alert('客户名称不能为空！');
                fr.cname.focus();
                return false
            }
            return true
        }

        window.onload = function () {
            document.getElementById("content").focus();
        }
    </script>
</HEAD>
<BODY>
<div id="messWindow" class="messWindow"></div>
<div id="promptWindow" class="promptWindow" align="center">
    <div class="titleBar"></div>

</div>
<ul class="tools" style="line-height:26px;">
    当前位置：<a href="__APP__/Appointment">预约列表</a> → 预约填写
</ul>
<DIV class="infoBox"><br/>

    <form id="form1" onSubmit="return check(this)" name="form1" method="post"
          action="__APP__/Appointment/itemsave/id/{$id}">
        <TABLE width="100%" border=0 align="left" cellPadding=0 cellSpacing=0>
            <TBODY>
            <tr>
                <td colspan=2><h1 style="text-align:center; font-size:14px;">此次预约{$company}的{$cname}</h1></td>
            </tr>
            <TR>
                <TD class=infoBoxTd width=68>约见时间：</TD>
                <TD width="446">
                    <INPUT style="WIDTH: 300px" class="formTitle" name="apptime" id="datepicker">
                    <SPAN  id="box_N_Title"></SPAN>
                    <LABEL>必须填写</LABEL>
                </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>约见备注：</TD>
                <TD width="446">
                    <textarea name="content" rows="2" cols="20" id="content" class="formTextarea"
                                          style="height:100px;width:500px;"></textarea></TD>
            </TR>
            <TR>
                <TD class=infoBoxTd>&nbsp;</TD>
                <TD>
                    <input name="customid" type="hidden" id="customid" value="{$id}" />
                    <input class="buttons" type="submit" value="保存数据"/></TD>
            </TR>
            </TBODY>
        </TABLE>
    </FORM>
</DIV>
</BODY>
</HTML>